<!DOCTYPE html>
<head xmlns:v-bind="http://www.w3.org/1999/xhtml" >
    <meta charset="UTF-8">
    <title>demo6条件语句-else</title>
  <script src="./js/vue.min.js"></script>

</head>

<body>
   <div id="app">
     <div v-if="Math.random() > 0.5 ">
       Sorry
     </div>
     <div v-else>
       Not sorry
     </div>
   </div>
   <script type="application/javascript">
     var vm = new Vue({
       el: "#app",
       data: {
       }
     });


   </script>
</body>

</html>
